SDAC

TMSServiceBroker Members

TMSServiceBroker class overview.

Properties

Name Description

AsyncNotification

Used to receive messages asynchronously in a separate thread.

Connection

Used to specify a connection object that will be used to connect to the server.

ConversationCount

Conversations count in the Conversations list.

Conversations

Used for storing the list of available conversations.

CurrentMessage

The current message received by the Receive method.

FetchRows

Used to determine the amount of rows that will be received from the server at a time.

Queue

This property determines queue for the specified service.

Service

Used to set the service name that will be used for sending and receiving messages.

WaitTimeout

Used to specify the time to wait until a message arrives to the server.

Methods

Name Description

BeginDialog

Overloaded. Initiates a dialog from one TMSServiceBroker.Service to another service.

CreateServerObjects

Creates a service and a queue on the server.

DropServerObjects

Removes both the service with the name assigned to the TMSServiceBroker.Service property and the queue with the name TMSServiceBroker.Service name + '_Queue'.

GetContractNames

Delivers contract name from the server.

GetMessageTypeNames

Delivers the names of message types from the server.

GetQueueNames

Delivers queue names from the server.

GetServiceNames

Delivers queue names from the server.

Receive

Designed for receiving messages from a queue on the server from the specified service.

Events

Name Description

OnBeginConversation

Occurs when a new object of the TMSConversation class is being created.

OnEndConversation

Occurs when an existing conversation is being closed.

OnMessage

Occurs when a new message is received in the asynchronous mode.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback